<?php

namespace Activity\Entity;


use Doctrine\ORM\Mapping as ORM;
/**
 * User
 *
 * @ORM\Entity(repositoryClass="Activity\Repository\ActivityRepository") 
 * @ORM\Table(name="activity")
 * @ORM\InheritanceType("JOINED")
 * @ORM\DiscriminatorColumn(name="type", type="string")
 * @ORM\DiscriminatorMap( {"activity" = "Activity\Entity\Activity", "album_activity" = "Activity\Entity\AlbumActivity", "photo_activity" = "Activity\Entity\PhotoActivity", "comment_activity" = "Activity\Entity\CommentActivity", "video_activity" = "Activity\Entity\VideoActivity", "mark_activity" = "Activity\Entity\MarkActivity", "like_activity" = "Activity\Entity\LikeActivity"} )
 */
class Activity
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    public $id;
    
    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", nullable=true)
     */
    public $createdAt;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="modified_at", type="datetime", nullable=false)
     */
    public $modifiedAt;
    /**
     * @var \Provider
     * @ORM\ManyToOne(targetEntity="Application\Entity\User")
     * @ORM\JoinColumns({
     *    @ORM\JoinColumn(name="user_uid", referencedColumnName="uid")
     * })
     * 
    **/
    public $user;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date", type="datetime", nullable=false)
     */
    public $date;
    
    //public $typ;

}
